package com.example.immanager.entity.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Builder;
import lombok.Data;

import java.util.Date;

/**
 * @author Lukecheng
 * @date 2023/04/19
 */

@Data
@Builder
public class ImMessageDTO {
    private String id;
    private String username;
    private String sign;
    private String avatar;
    private String text;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

}
